Skip to content

Claude subscription docs: the terms' credential rule as Hermit's cautious reading; claude -p is ordinary use - #124

Merged
haizhongzheng merged 1 commit into
mainfrom
claude-terms-doc
Nov 21, 2026
Merged

haizhongzheng merged 1 commit into
mainfrom
claude-terms-doc

Conversation

@haizhongzheng

Copy link
Copy Markdown
Member

Change

docs/guides/claude-subscription.md and the hermit/agent/base/login.py docstring stated Anthropic's terms more strongly than they read:

  • the guide said the terms "advise against" keeping a copy of the user's Claude sign-in;
  • login.py said the terms "do not let a third-party tool collect, store or intermediate such credentials".

The terms say developers "may not collect, store, or intermediate Claude.ai credentials or session tokens". The context is products that route requests "on behalf of their users". They do not say whether a tool a user runs for themselves counts.

Both texts now say three things:

  • Keeping no copy of the sign-in is Hermit's cautious reading of that rule. The other reason is technical: a refreshing copy rotates the refresh token under the user's own Claude Code.
  • Running the official CLI yourself on your own sign-in is ordinary use the terms permit. That covers claude -p from your own scripts, an end user signing in to "the unmodified Claude Code binary with their own Claude subscription".
  • What Hermit avoids is holding the sign-in itself.

The code is unchanged. login: claude still takes only the claude setup-token token.

Validation

Documentation and a docstring only. The new lines are under 120 characters. The quotes were checked against the terms page and the authentication page (claude setup-token) as they read on 2026-11-21.

Review

  • Tests and documentation cover the affected behavior, where applicable: documentation only.
  • Commands, defaults, and public interfaces are consistent: unchanged.
  • Agents follow the agent layers: no code change.
  • Shared logs and examples contain no credentials or private data.
  • Documentation-only: the user asked for this correction in this session (the earlier text overstated the terms). It was not discussed in an issue.
  • Independent review: not run, at the user's request (a documentation-only change).

🤖 Generated with Claude Code

…ious reading; claude -p is ordinary use

The guide and login.py said Anthropic's terms advise against, or do not let, a
tool keep a copy of the user's Claude sign-in. The terms' rule ("developers may
not collect, store, or intermediate Claude.ai credentials") is written for
products that serve other people, and does not say whether a tool a user runs
for themselves counts. Both now say that keeping no copy is Hermit's cautious
reading of that rule, and that running the official CLI yourself on your own
sign-in, `claude -p` from your own scripts included, is ordinary use the terms
permit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@haizhongzheng
haizhongzheng merged commit 1b80c10 into main Nov 21, 2026
1 check passed
@haizhongzheng
haizhongzheng deleted the claude-terms-doc branch November 21, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant